package com.dxysun.design.adapter.interfaceadapter;

public class Main
{
    public static void main(String[] args)
    {
        Adaptee adaptee = new Adaptee();
        Adapter adapter = new Adapter(adaptee);
        String res = adapter.request1("req1");
        System.out.println(res);  // 输出:req1 from Adaptee from Adapter
    }
}
